<?php
/* @var $this ProjectWuZiKuController */
/* @var $model ProjectWuZiKu */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'project-wu-zi-ku-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'projectId'); ?>
		<?php echo $form->textField($model,'projectId',array('size'=>12,'maxlength'=>12)); ?>
		<?php echo $form->error($model,'projectId'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'cityId'); ?>
		<?php echo $form->textField($model,'cityId'); ?>
		<?php echo $form->error($model,'cityId'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'wuZiId'); ?>
		<?php echo $form->textField($model,'wuZiId',array('size'=>12,'maxlength'=>12)); ?>
		<?php echo $form->error($model,'wuZiId'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'name'); ?>
		<?php echo $form->textField($model,'name',array('size'=>32,'maxlength'=>32)); ?>
		<?php echo $form->error($model,'name'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'pinyin'); ?>
		<?php echo $form->textField($model,'pinyin',array('size'=>128,'maxlength'=>128)); ?>
		<?php echo $form->error($model,'pinyin'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'detail'); ?>
		<?php echo $form->textField($model,'detail',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'detail'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'measure'); ?>
		<?php echo $form->textField($model,'measure',array('size'=>8,'maxlength'=>8)); ?>
		<?php echo $form->error($model,'measure'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'price'); ?>
		<?php echo $form->textField($model,'price',array('size'=>12,'maxlength'=>12)); ?>
		<?php echo $form->error($model,'price'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'number'); ?>
		<?php echo $form->textField($model,'number',array('size'=>12,'maxlength'=>12)); ?>
		<?php echo $form->error($model,'number'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'wuZiKuId'); ?>
		<?php echo $form->textField($model,'wuZiKuId',array('size'=>12,'maxlength'=>12)); ?>
		<?php echo $form->error($model,'wuZiKuId'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'addTime'); ?>
		<?php echo $form->textField($model,'addTime'); ?>
		<?php echo $form->error($model,'addTime'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->